-
Couldn't load subscription status.
- Fork 86
Delegate to LoadStratgy for module information #925
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
This change along with a minor fix to Flutter Tools will ensure The serverPath will now be the fully qualified path assuming you leverage this (or do something similar): |
|
Nice! |
| serverPath = | ||
| serverPath.startsWith('/') ? serverPath.substring(1) : serverPath; | ||
| // Remove the .js from the path. | ||
| serverPath = p.withoutExtension(serverPath); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
a bit surprising we don't remove the full extension here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Our server path is of the form packages/path/path.ddc. It's commented above so it shouldn't be surprising. Should I add more comments?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The comment is just repeating the code and not explaining why it is the way it is :D. A follow-up to clarify would be good but not required.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
moduleForServerPathserverPathForModuleserverPathForAppUriLoadStrategyfor each compiler, we now have consistency with handling module names and no longer leak Google3 details externally (we'll have a Google3 specific LegacyStrategy internaly)package:argupdateTowards #910
Closes #917